package tests;

import org.junit.Test;

import AlgoritmosGeneticos.model.Individuo;
import AlgoritmosGeneticos.model.impl.IndividuoImpl;

public class IndividuoTest {
	
	@Test
	public void individuosTest(){
		Individuo i1 = new IndividuoImpl("1111111111111111", 0.1);
		
		Individuo i2 = new IndividuoImpl("0000000000000000", 0.1);

		Individuo i3 = new IndividuoImpl("0000000000000001", 0.1);

		Individuo i4 = new IndividuoImpl("1000000000000000", 0.1);
		
		Individuo i6 = new IndividuoImpl("1100000000000001", 0.1);

		
		System.out.println(i1.toNumber());
		System.out.println(i2.toNumber());
		System.out.println(i3.toNumber());
		System.out.println(i4.toNumber());
		System.out.println(i6.toNumber());

	}

}
